package com.hyy.api.domain.customer.bo;

import com.hyy.api.domain.customer.CstmCustomerHttpConfig;
import com.hyy.common.core.validate.AddGroup;
import com.hyy.common.core.validate.EditGroup;
import com.hyy.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 下游客户http配置业务对象 cstm_customer_http_config
 *
 * @author ruoyi
 * @date 2025-05-19
 */
@Data
@AutoMapper(target = CstmCustomerHttpConfig.class, reverseConvertGenerate = false)
public class CstmCustomerHttpConfigBo {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 公司账号id
     */
    @NotNull(message = "公司账号id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long customerId;

    /**
     * 受理速率
     */
    private Integer acceptRate;


}
